package com.gla.dao;

import com.gla.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    @Select("select * from ADMIN where account=#{username} and password = #{password}")
    public Admin isAdmin(String username,String password);
}
